import Layout from "/@/layout/index.vue";

const manageRouter = [
  // {
  //   path: "/bussiness",
  //   name: "bussiness",
  //   redirect: "/bussiness/index",
  //   component: Layout,
  //   meta: {
  //     icon: "el-icon-folder",
  //     title: "message.bussinessManagement",
  //     showLink: true,
  //     savedPosition: true,
  //     rank: 1
  //   },
  //   children: [
  //     {
  //       path: "/bussiness/index",
  //       name: "bussinessList",
  //       component: () => import("/@/views/bussiness/index/index.vue"),
  //       meta: {
  //         title: "message.bussinessList",
  //         showLink: true,
  //         savedPosition: true
  //       }
  //     },
  //     {
  //       path: "/bussiness/edit",
  //       name: "bussinessEdit",
  //       component: () => import("/@/views/bussiness/edit/index.vue"),
  //       meta: {
  //         title: "message.bussinessEdit",
  //         showLink: false
  //       }
  //     },
  //     {
  //       path: "/bussiness/contract",
  //       name: "contract",
  //       component: () => import("/@/views/bussiness/contract/index.vue"),
  //       meta: {
  //         title: "message.contractManagement",
  //         showLink: true,
  //         savedPosition: true
  //       }
  //     }
  //   ]
  // },
  {
    path: "/system",
    name: "system",
    redirect: "/system/index",
    component: Layout,
    meta: {
      icon: "el-icon-folder",
      title: "message.hssysManagement",
      showLink: true,
      savedPosition: true,
      rank: 4
    },
    children: [
      {
        path: "/system/role",
        name: "systemRole",
        component: () => import("/@/views/system/role/index.vue"),
        meta: {
          title: "message.roleList",
          showLink: true,
          savedPosition: true
        }
      },
      {
        path: "/system/menu",
        name: "systemMenu",
        component: () => import("/@/views/system/menu/index.vue"),
        meta: {
          title: "message.menuList",
          showLink: true,
          savedPosition: true
        }
      },
      {
        path: "/system/manage",
        name: "systemManage",
        component: () => import("/@/views/system/manage/index.vue"),
        meta: {
          title: "message.userManagement",
          showLink: true,
          savedPosition: true
        }
      },
      {
        path: "/system/organization",
        name: "systemOrganization",
        component: () => import("/@/views/system/organization/index.vue"),
        meta: {
          title: "message.organizationManagement",
          showLink: true,
          savedPosition: true
        }
      },
      {
        path: "/system/resource",
        name: "systemResource",
        component: () => import("/@/views/system/resource/index.vue"),
        meta: {
          title: "message.resourceManagement",
          showLink: true,
          savedPosition: true
        }
      }
      // {
      //   path: "/system/information",
      //   name: "systemInformation",
      //   component: () => import("/@/views/system/information/index.vue"),
      //   meta: {
      //     title: "message.resourceManagement",
      //     showLink: true,
      //     savedPosition: true
      //   }
      // }
      // {
      //   path: "/system/information/detail",
      //   name: "systemInformationDetail",
      //   component: () => import("/@/views/system/information/detail/index.vue"),
      //   meta: {
      //     title: "message.resourceManagement",
      //     showLink: true,
      //     savedPosition: true
      //   }
      // }
    ]
  }
];

export default manageRouter;
